package com.yhf.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;


//开发商部门
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("branch")
public class Branch {
    @TableId(value = "bid",type = IdType.ASSIGN_UUID)
    private String bid;
    private String bname;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatetime;
    private Integer pid;
    private Integer status;
    //一对一  从branch表关联project
//    private Project project;
    //一对多
    //private List<Taskplan> taskplans;
}
